package com.appspot.didit.client.workitem;

import java.util.Date;

import com.appspot.didit.client.BasePresenter;
import com.appspot.didit.client.BaseView;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.event.dom.client.HasKeyPressHandlers;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.HasValue;

public interface CreateWorkitemPresenter extends BasePresenter {
	
	interface View extends BaseView {
		HasClickHandlers getSaveButtonClickHandlers();
		HasValue<String> getDescription();
		HasValue<String> getDuration();
		HasValue<String> getHour();
		HasValue<String> getMinute();
		HasValue<String> getTag();
		HasValue<Date> getDate();
		HasText getHint();
		HasKeyPressHandlers getKeyPressHandler();
	}	

	View showCreateWorkitem();

}